Math.gcd Method

Calculates the greatest positive common divisor of a and b.
 
 
Static This method is static.

Parameters

a

Type: Number
The first value.
b

Type: Number
The second value.

Return Value


Type: Number
The greatest common divisor.